<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <meta name="description" content="<?php echo ($site_conf["setting_site_title"]); ?>">
    <meta name="author" content="CDCT TEAM.">
    <title>系统后台－文章分类编辑</title>
    
    <link type="text/css" rel="stylesheet" href="/static/common/style/reset.css" />
    <link type="text/css" rel="stylesheet" href="/static/admin/style/basic.css"/>
    <style type="text/css">html,body{height:100%;}html{height:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}</style>
    
    <link rel="stylesheet" href="/static/layui/css/layui.css" type="text/css">

</head>
<body>


    <div class="wrap-page">
        <div id="pageBookList" class="page-content">
            <div id="boxBookList" class="box">
                <div class="box-content">
                    <div class="wrap-table">
                        <div class="table-bar table-bar-head clearfix">
                            <div class="fl-l">
                                <div class="tools">
                                    <span class="tool-item"><a class="button button-blue" href="<?php echo U('backend/article_cate/add');?>">添加分类</a></span>
                                    <span class="tool-item"><a class="button button-red btn-delete-batch" href="javascript:;" data-url="<?php echo U('backend/article_cate/delete');?>">删除所选</a></span>
                                </div>
                            </div>
                            <div class="fl-r">
                                <div class="tools">
                                    <span class="tool-item"><button onclick="javascript:window.location.replace(window.location.href);" class="button button-default" type="button">刷新列表</button></span>
                                </div>
                            </div>
                        </div>
                            <table class="table default-style" cellpadding="0" cellspacing="0" width="100%">
                                <thead>
                                <tr>
                                    <th width="30"><input type="checkbox" name="checkall" class="J_checkall"></th>
                                    <th align="left"><?php echo L('article_cate_name');?></th>
                                    <th width="60"><span data-tdtype="order_by" data-field="id">ID</span></th>
                                    <th width="60">所属类型</th>
                                    <th width="80"><span data-tdtype="order_by" data-field="ordid"><?php echo L('sort_order');?></span></th>
                                    <th width="60"><span data-tdtype="order_by" data-field="status"><?php echo L('status');?></span></th>
                                    <th width="150"><?php echo L('operations_manage');?></th>
                                </tr>
                                </thead>
                                <tbody>
                                <?php echo ($list); ?>
                                </tbody>
                            </table>
                    </div>
                </div>
            </div>
        </div>
    </div>

<script type="text/javascript" src="/static/common/script/jquery-1.11.1.min.js"></script>
<script src="/static/layer/layer.js" type="text/javascript"></script>
<script type="text/javascript" src="/static/admin/script/common.js"></script>
<script type="text/javascript" src="/static/admin/script/listTable.js"></script>

    <script src="/static/admin/js/treetable.js"></script>
    <script src="/static/layui/layui.js" type="text/javascript"></script>
    <script>
        $(function(){
            $("#J_cate_tree").treeTable({indent:20,treeColumn:1});
        });
    </script>

</body>
</html>